package cn.utils;

import java.sql.Blob;

import cn.db.DBManager;

public class BlobUtils {
	private static String database=null;
	
	{
		database=DBManager.getDataBase();
	}
	public  static Blob convertToBlob(byte[] b){
		Blob blob = null;
		if("mysql".equalsIgnoreCase(database)){
			
		}
		else if("oracle".equalsIgnoreCase(database)){
			
		}else{
			
		}
		return blob;
	}
}
